#ifndef APP_REG_H_INC
#define APP_REG_H_INC

int Sn2MakeDate(long sn);
int AppName2Code(const char *appName);
long GenerateAppRegCode(long sn, int appCode, int endDate);
int DecodeAppRegCode(long sn, int appCode, long regCode);

#endif
